package com.blrs.service.activity.impl;

import java.util.List;
import java.util.UUID;

import com.blrs.service.activity.IActivityReceptionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.blrs.mapper.ActivityReceptionMapper;
import com.blrs.domain.ActivityReception;

/**
 * 活动接收Service业务层处理
 * 
 * @author yang
 * @date 2023-11-23
 */
@Service
public class ActivityReceptionServiceImpl implements IActivityReceptionService
{
    @Autowired
    private ActivityReceptionMapper activityReceptionMapper;

    /**
     * 查询活动接收
     * 
     * @param activityId 活动接收主键
     * @return 活动接收
     */
    @Override
    public ActivityReception selectActivityReceptionByActivityId(String activityId)
    {
        return activityReceptionMapper.selectActivityReceptionByActivityId(activityId);
    }

    /**
     * 查询活动接收列表
     * 
     * @param activityReception 活动接收
     * @return 活动接收
     */
    @Override
    public List<ActivityReception> selectActivityReceptionList(ActivityReception activityReception)
    {
        return activityReceptionMapper.selectActivityReceptionList(activityReception);
    }

    /**
     * 新增活动接收
     * 
     * @param activityReception 活动接收
     * @return 结果
     */
    @Override
    public int insertActivityReception(ActivityReception activityReception)
    {
        return activityReceptionMapper.insertActivityReception(activityReception);
    }

    /**
     * 修改活动接收
     * 
     * @param activityReception 活动接收
     * @return 结果
     */
    @Override
    public int updateActivityReception(ActivityReception activityReception)
    {
        return activityReceptionMapper.updateActivityReception(activityReception);
    }

    /**
     * 批量删除活动接收
     * 
     * @param activityIds 需要删除的活动接收主键
     * @return 结果
     */
    @Override
    public int deleteActivityReceptionByActivityIds(String[] activityIds)
    {
        return activityReceptionMapper.deleteActivityReceptionByActivityIds(activityIds);
    }

    /**
     * 删除活动接收信息
     * 
     * @param activityId 活动接收主键
     * @return 结果
     */
    @Override
    public int deleteActivityReceptionByActivityId(String activityId)
    {
        return activityReceptionMapper.deleteActivityReceptionByActivityId(activityId);
    }


}
